<%
=begin
apps: kibana
platforms: kubernetes, tanzu-application-catalog
id: use_custom_init_scripts
title: Use custom initialization scripts
category: administration
weight: 60
=end %>

For advanced operations, this chart allows using custom initialization scripts that will be mounted in */docker-entrypoint.init-db*. Mount these extra scripts using a ConfigMap or a Secret (in case of sensitive data) and specify them via the *initScriptsCM* and *initScriptsSecret* chart parameters, as shown below:

~~~
elasticsearch.hosts[0]=elasticsearch-host
elasticsearch.port=9200
initScriptsCM=special-scripts
initScriptsSecret=special-scripts-sensitive
~~~
